﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;


namespace Paint
{
    [Serializable]
    class Line : Drawable
    {
        public Line(Point startPoint, Point endPoint) : base(startPoint, endPoint) { }

        public override void draw(Graphics g)
        {
            g.DrawLine(context.createPen(), startPoint, endPoint);
        }
    }
}
